<!DOCTYPE html>
<html>
    
    <head>
        <meta charset="utf-8">
        <title>
        </title>
        <link rel="stylesheet" type="text/css" href="{$_C.hy_path}css/amazeui.min.css"
        />
        <link rel="stylesheet" type="text/css" href="{$_C.hy_path}css/hy.admin.css"
        />
    </head>
    
    <body>
        <div class="am-g">
            {include file='../Common/hy_header.html'}
            <div class="am-u-md-8 am-u-end">
                <form class="am-form am-form-horizontal hy-js-form">
                    <div class="am-form-group">
                        <label for="user-name" class="am-u-sm-3 am-form-label">
                            优惠券价格
                        </label>
                        <div class="am-u-sm-9">
                            <input type="text" name="card_money" value="{$info.card_money|default:0}" placeholder="请输入优惠券的价格">
                        </div>
                    </div>
                    <div class="am-form-group">
                        <label for="user-intro" class="am-u-sm-3 am-form-label">
                            备注
                        </label>
                        <div class="am-u-sm-9">
                            <textarea class="" rows="5" name="card_note" placeholder="请输入备注">{$info.card_note}</textarea>
                        </div>
                    </div>
                    <div class="am-form-group">
                        <label for="user-name" class="am-u-sm-3 am-form-label">
                            数量
                        </label>
                        <div class="am-u-sm-9">
                            <input type="text" name="card_num" value="{$info.card_num|default:0}" placeholder="请输入优惠券的数量">
                        </div>
                    </div>
                    <div class="am-form-group">
                        <label for="user-name" class="am-u-sm-3 am-form-label">
                            几率
                        </label>
                        <div class="am-u-sm-8">
                            <input type="text" name="card_chance" value="{$info.card_chance|default:0}" placeholder="请输入获取几率">
                        </div>
                        <div class="am-u-sm-1">
                        	%
                        </div>
                    </div>
                    <div class="am-form-group">
                        <label for="user-name" class="am-u-sm-3 am-form-label">
                            优先级
                        </label>
                        <div class="am-u-sm-9">
                            <input type="text" name="ordering" value="{$info.ordering|default:0}" placeholder="请输入优先级">
                        </div>
                    </div>
                    <div class="am-form-group">
                        <div class="am-u-sm-9 am-u-sm-push-3">
                            <input type="hidden" name="id" value="{$id}">
                            <button type="button" class="am-btn am-btn-primary hy-js-submit">
                                保存
                            </button>
                        </div>
                    </div>
                </form>
            </div>
        </div>
        {include file='../Common/hy_footer.html'}
        <script type="text/javascript">
            hy_submit('index.php?g=admin&m=activity&a={$action}');
        </script>
    </body>

</html>